package com.cdtye.itps.cms.dao.deduction.vo;

import com.cdtye.common.mybatiscore.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Pattern;

/**
 * 公里扣分项记录表
 * @author Jchen
 * @date 2021-09-24
 */
@ApiModel("公里扣分项记录表")
@Getter
@Setter
public class JcjcKmDeductionVo extends BaseVo {

    @ApiModelProperty(value = "铁路局id")
    private String deptJuId;

    @ApiModelProperty(value = "供电段id")
    private String deptId;

    @ApiModelProperty(value = "供电段Code")
    private String unitDeptCode;

    private String deptName;

    @ApiModelProperty(value = "线路id")
    private String lineId;
    private String lineName;

    @ApiModelProperty(value = "行别id")
    private String directionId;
    private String directionName;

    @ApiModelProperty(value = "检测日期")
    @Pattern(regexp = "^(((?:19|20)\\d\\d)-(0?[1-9]|1[0-2])-(0?[1-9]|[12][0-9]|3[01]))$", message = "需要匹配格式：yyyy-MM-dd")
    private String taskDate;
    private String beginTaskDate;
    private String endTaskDate;

    private String railType;

    @ApiModelProperty(value = "里程")
    private String mileage;

    @ApiModelProperty(value = "速度")
    private String speed;

    @ApiModelProperty(value = "扣分")
    private String deductNum;

    @ApiModelProperty(value = "是否合格  0否 1是")
    private String isQualified;
    private String isQualifiedName;

    @ApiModelProperty(value = "是否优良 0否 1是")
    private String isGood;
    private String isGoodName;

    @ApiModelProperty(value = "导入id")
    private String importId;

    @ApiModelProperty(value = "删除标志")
    private String delFlag;
}

